package com.siashan.unipay4j.core;

/**
 * 退款状态
 *
 * @author siashan
 * @since v1.0.1
 **/
public enum RefundStateEnum implements IBaseEnum<String> {
    /**
     * 退款成功
     */
    SUCCESS("SUCCESS", "退款成功"),
    /**
     * 退款关闭
     */
    REFUNDCLOSE("REFUNDCLOSE", "退款关闭"),
    /**
     * 退款处理中
     */
    PROCESSING("PROCESSING", "退款处理中"),
    /**
     * 退款异常
     */
    CHANGE("CHANGE", "退款异常"),
    /**
     * 退款失败
     */
    FAIL("FAIL", "退款失败"),
    ;
    private String value;
    private String desp;

    RefundStateEnum(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
